#ifndef DIALOG_H
#define DIALOG_H

#include <QDialog>
#include <QTreeView>
#include <QtGui>

namespace Ui {
    class Dialog;
}

class FindFileDialog : public QDialog
{
    Q_OBJECT

public:
    FindFileDialog(QWidget *parent = 0);
    ~FindFileDialog();

private slots:
    void on_buttonBox_rejected();
    void on_buttonBox_accepted();

    void itemClicked(const QModelIndex&);

private:
    Ui::Dialog *ui;

    QFileSystemModel *model;
    QString m_filepath;
};

#endif // DIALOG_H
